import request from "../utils/request";

export function getBoardroomList(){
    return request.get('/boardroom/list');
}

export function addBoardroom(params) {  
    return request.post('/boardroom/addBoardroom', params);  
}  

export function deleteBoardroomById(id){
    return request.delete(`/boardroom/deleteBoardroomById/${id}`);
}

export function updateBoardroom(data){
    return request.put(`/boardroom/updateBoardroom`,data);
}

export function getICanUseBoardroomList(data){
    return request.post(`/boardroom/getICanUseBoardroomList`,data);
}